#################################################

Replication files for "The Consequences of Elite Party Politics for Macropartisanship"

Corwin D. Smidt; February 28, 2017

#################################################

To replicate this article:

1. Make sure you have the original raw data downloaded in your working directory. These files include the original version the DW-NOMINATE data downloaded from voteview.com (H01_112_codes_12; HC01112_CUT33_PRE_DATES_9; hdemrep35_112_9; and the public opinion polling data (latentapproval; latentics; and macrocount_normally).

2. The command files are numbered to indicate the order of how they should be run. They should indicate what files need to be run first in each case. But, in general: The first create the data used in the analysis from their raw entries. The second command file estimates the regression models and transforms the data for estimating the MSAR model in R. The third command files estimate the MSAR in R. The fourth command files take the data from the MSAR estimates and use those to estimate the results in Table 2. And the fifth command file replicates all the figures in the manuscript. The remaining files estimate results presented in the supplemental appendix.

3. Estimates in the manuscript were estimated using Stata-SE 12.1, R 3.3.2, and JAGS 4.2.0 on a x86_64-pc-linux-gnu platform with Ubuntu 16.04 LTS.
